﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Infrastructure.Pluralization.Interfaces;

namespace Infrastructure.Pluralization
{
    internal class EventWordEnglishPluralization : IEventWordPluralizationStrategy
    {
        private const string SingleForm = "event";
        private const string PluralForm = "events";

        public string Pluralize(int count)
        {
            if (count < 0)
                throw new ArgumentException("count parameter value should be more than 0");

            return count == 1 ? SingleForm : PluralForm;
        }
    }
}
